﻿ALTER TABLE [dbo].[PurchaseOrderItem]
    ADD CONSTRAINT [FK_PurchaseOrderItem_PurchaseOrder] FOREIGN KEY ([PurchaseOrderId]) REFERENCES [dbo].[PurchaseOrder] ([Id]) ON DELETE CASCADE ON UPDATE CASCADE;

